package com.springboot.po;

public class Cart {
 private Integer cartId;
 private Integer foodId;
 private Integer businessId;
 private String userId;
 private Integer quantity;
 
 //多对一：所属食品--》标识外键
 private Food food;
 //多对一：所属商家
 private Business business;
 
public Integer getCartId() {
	return cartId;
}
public void setCartId(Integer cartId) {
	this.cartId = cartId;
}
public Integer getFoodId() {
	return foodId;
}
public void setFoodId(Integer foodId) {
	this.foodId = foodId;
}
public Integer getBusinessId() {
	return businessId;
}
public void setBusinessId(Integer businessId) {
	this.businessId = businessId;
}
public String getUserId() {
	return userId;
}
public void setUserId(String userId) {
	this.userId = userId;
}
public Integer getQuantity() {
	return quantity;
}
public void setQuantity(Integer quantity) {
	this.quantity = quantity;
}
public Food getFood() {
	return food;
}
public void setFood(Food food) {
	this.food = food;
}
public Business getBusiness() {
	return business;
}
public void setBusiness(Business business) {
	this.business = business;
}
 
 //get、set ... ...
 
}
